import request from '@/utils/request'
/* 限时特价列表 */
export const dailyTimePricePage = data => {
  return request({
    url: 'manage/dailySet/dailySetPage',
    method: 'post',
    params: data
  })
}
/* 新增/删除特价 活动时间 */
export const setDaily = data => {
  return request({
    url: 'manage/dailySet/setDaily',
    method: 'post',
    params: data
  })
}
/* 活动时间段 */
export const setDailyTime = data => {
  return request({
    url: 'manage/dailyTimePrice/setDailyTime',
    method: 'post',
    params: data
  })
}
/* 增加限时特价产品 */
export const addProductTimePrice = data => {
  return request({
    url: 'manage/productTimePrice/addProductTimePrice',
    method: 'post',
    params: data
  })
}
/* 移除限时特价产品 */
export const deleteProductTimePrice = data => {
  return request({
    url: 'manage/productTimePrice/deleteProductTimePrice',
    method: 'post',
    params: data
  })
}
/* 限时特价搜索所有商品 */
export const listProductSelect = data => {
  return request({
    url: 'manage/productTimePrice/listProductSelect',
    method: 'post',
    params: data
  })
}
/* 限时特价产品列表 */
export const productTimePricePage = data => {
  return request({
    url: 'manage/productTimePrice/productTimePricePage',
    method: 'post',
    params: data
  })
}
/* 更新限时特价产品 */
export const updateProductTimePricee = data => {
  return request({
    url: 'manage/productTimePrice/updateProductTimePrice',
    method: 'post',
    params: data
  })
}
/* 限时删除日期 */
export const doDeleteDailySet = data => {
  return request({
    url: 'manage/dailySet/doDeleteDailySet',
    method: 'post',
    params: data
  })
}
/* 限时删除时间段 */
export const doDeleteDailyTime = data => {
  return request({
    url: '/manage/dailySet/doDeleteDailyTime',
    method: 'post',
    params: data
  })
}
